#!/bin/bash
. setup.sh
 
make -C /home/ds/phoneme_feature/midp/build/linux_fb_gcc \
GNU_TOOLS_DIR=$GNU_TOOLS_DIR \
JDK_DIR=$JDK_DIR \
PCSL_OUTPUT_DIR=$Output/pcsl \
CLDC_DIST_DIR=$Output/cldc/linux_arm/dist \
TOOLS_DIR=/home/ds/phoneme_feature/tools \
TOOLS_OUTPUT_DIR=$Output/tools \
TARGET_CPU=arm \
MIDP_OUTPUT_DIR=$Output/midp \
ENABLE_COMPILATION_WARNINGS=true \
VERBOSE_BUILD=true \
$1
 
if [ $? -ne 0 ]; then
  echo "sjwc_status=failed" 
else
  echo "sjwc_status=OK"
fi
